Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of the last compiler warning #412

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Get rid of the last compiler warning #412

merged 1 commit into from
Mar 28, 2024

Conversation

marcelm
Copy link
Collaborator

@marcelm marcelm commented Mar 26, 2024

It would be more correct to convert all start and end coordinates on query and reference to unsigned, but this is a much smaller change and should do for now.

warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   99 |             if (h.query_start > prev_q_start + k) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

It would be more correct to convert all start and end coordinates on query
and reference to unsigned, but this is a much smaller change and should do
for now.

warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   99 |             if (h.query_start > prev_q_start + k) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
@marcelm marcelm merged commit f66cc35 into main Mar 28, 2024
9 checks passed
@marcelm marcelm deleted the warning branch March 28, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant